<template>
  <div class="inputTag">
    <el-card>
      <p>基本需求</p>
      <p>实现了文本框多输入的功能</p>
    </el-card>
    <div>
      <el-row>
        <el-col :span="24">
          <el-row>
            <el-col :span="10">
              <tags-input v-model="tagList"></tags-input>
            </el-col>
            <el-col :span="4">
              <el-button type="primary" @click="getTags">获取</el-button>
            </el-col>
          </el-row>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
import TagsInput from '../../components/TagsInput'
export default {
  name: 'inputTag',
  components: { TagsInput },
  data () {
    return {
      tagList: null,
      boxW: '100px'
    }
  },
  methods: {
    getTags () {
      console.log(this.tagList)
    }
  }
}
</script>

<style lang="scss">
</style>
